package com.example.crm.service;


import com.example.crm.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    public User findNameAndPassword(@Param("userName") String userName, @Param("userPassword")  String userPassword);

    public List<User> finAll();

    public User findByName(@Param("name") String name);
}
